Salert

Section: Dec. 16, 1992 (2)
Updated: MiNT Programmer's Manual
Index Return to Main Contents
 

NAME

Salert - print a warning or error message  

SYNOPSIS

void Salert( char *msg );
 

DESCRIPTION

Salert sends a warning or error message to the alert pipe, U:\PIPE\ALERT. The argument msg is a 0 terminated ASCII string containing the message to be sent. The message should not contain any carriage return, line feed, or escape characters; it should be a simple one line warning or error message which is to be brought to the user's attention. The Salert call takes whatever steps are necessary to format this string and send it to the user; the exact form of the output (or even whether the output is seen at all) depends on the system configuration.  

SEE ALSO

Cconws(2)  

BUGS

The message is not guaranteed to be delivered to the user (users may turn alert messages off). Therefore, absolutely critical or fatal errors should be delivered to the user in a different fashion.

Messages longer than 90 characters may be truncated; also, if any word in the message is longer than 30 characters it may not be printed in full (a word is any sequence of non-blank characters).


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
BUGS

This document was created by man2html, using the manual pages.
Time: 11:14:04 GMT, June 22, 2025